import logging
def log_connect():
    logging.basicConfig(filename="./log/111.log",filemode='w',
    level=logging.DEBUG,
    format="%(lineno)d***%(message)s***%(asctime)s***%(levelname)s")